Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Setting Points and Vectors


Q3SphericalPoint_Set

You can use the Q3SphericalPoint_Set function to set the components of a spherical point.

TQ3SphericalPoint *Q3SphericalPoint_Set (
TQ3SphericalPoint *sphericalPoint, 
float rho, 
float theta, 
float phi);
sphericalPoint
A spherical point.
rho
The r component of the spherical point.
theta
The q component of the spherical point.
phi
The f component of the spherical point.
DESCRIPTION
The Q3SphericalPoint_Set function returns, as its function result and in the sphericalPoint parameter, the spherical point specified by the rho, theta, and phi parameters.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996